package Modelo;


import java.awt.Color;
import java.awt.Graphics;


public class Destino extends Figuras{


	private static final long serialVersionUID = 1L;

	public Destino(Integer id0, Integer x0,Integer y0,Integer w0,Integer h0,Color c,Integer vida, Boolean estado){

	     super(id0, x0,y0,h0,w0,c,vida,estado);
	}

        @Override
        public void dibujar(Graphics grafico) {

            grafico.setColor(color);
            grafico.fillRect(x, y, ancho, alto);
	}


	@Override
	public void colision(Figuras figura) {
		 figura.colision(this);

	}

    @Override
    public void colision(Autito movil) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void colision(Pared pared) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void colision(Base base) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void colision(Destino destino) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
    @Override
    public void colision(Policia policia) {
        throw new UnsupportedOperationException("Not supported yet.");
    }





}
